$f: 19.2;
img{
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
.common_bg{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.home{
  position: relative;
  background: #F9F9F9;
  .bg1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }
  }

  .bg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }
  }

  .bg3 {
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 100%;
    }
  }

}


.main{
  padding: 364/$f+vw 160/$f+vw 0 160/$f+vw ;
  position: relative;
  z-index: 10;
  .title {
    text-align: center;

    h1 {
      color: #0F77FF;
      font-weight: 500;
      line-height: 0.8;
      text-transform: capitalize;
      margin-bottom: 24/$f+vw;
    }

    .tag {
      color: #000;
      font-weight: 300;
      line-height: 1.5;
    }
  }

}
.main2{
  padding:0 160/$f+vw 120/$f+vw 160/$f+vw ;
}

.section1{
  margin: 279/$f+vw 0 0 160/$f+vw;
  display: flex;
  overflow: hidden;
  .r{
    width: 984/$f+vw;
    .rSwiper{
      width: 1220/$f+vw;
      .swiper-slide{
        cursor: pointer;
        &.swiper-slide-active{
          .item{
            filter: blur(0);
          }
        }
        .item{
          width: 100%;
          height: 680/$f+vw;
          border-radius: 24/$f+vw;
          border: 1px solid #FFF;
          background: rgba(255, 255, 255, 0.30);
          box-shadow: -7.179px 5.983px 2.393px 0px rgba(255, 255, 255, 0.20) inset;
          backdrop-filter: blur(34px);
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          align-items: center;
          filter: blur(2px);
          transition: 1s;
          .p1{
            text-align: center;
            color: #000;
            font-style: normal;
            font-weight: 400;
            line-height: 38/$f+vw; /* 120% */
            text-transform: capitalize;
          }
          .btn {
            width: 100%;

            margin: 24/$f+vw 0 47/$f+vw;

            .submit {
              border-radius: 20/$f+vw;
              border: 1.264px solid rgba(255, 255, 255, 0.16);
              background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 100%, rgba(255, 255, 255, 0.00) 100%), #0F77FF;
              box-shadow: 0px 0px 0px 1.264px #0F77FF, 0px 1.264px 2.528px 0px rgba(12, 43, 100, 0.20);
              display: flex;
              padding: 10/$f+vw 35/$f+vw 10/$f+vw 36/$f+vw;
              justify-content: center;
              align-items: center;
              width: fit-content;
              margin: 0 auto;
              color: #FFF;
              line-height: 1.35;
              cursor: pointer;
              text-transform: capitalize;
            }
          }
          .img{
            width: 388/$f+vw;
            img{
              width: 100%;
            }
          }
        }
      }
    }
  }
  .l{
    width: 526/$f+vw;
    margin: 148/$f+vw 90/$f+vw 0 0;
    .p1{
      color: #000;
      font-style: normal;
      font-weight: bold;
      line-height: 142.82%; /* 68.554px */
      text-transform: capitalize;
      margin: 0 0 24/$f+vw;
    }
    .p2{
      color: #000;
      font-style: normal;
      font-weight: 300;
      line-height: 36/$f+vw; /* 150% */
      margin: 0 0 24/$f+vw;
    }

    .cut{
      display: flex;
      gap: 0 15/$f+vw;
      .item{
        width: 28/$f+vw;
        height: 28/$f+vw;
        border-radius: 50%;
        border: 2px solid transparent;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        transition: .6s ease;
        cursor: pointer;
        svg{
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 135%;
          height: 135%;
          .path-loop{
            stroke-dashoffset: 157px;
            fill: none;
            stroke: #297EF7;
            stroke-miterlimit: 10;
            stroke-width: 3px;
            transition: 0.6s;
          }
        }
        &.on{
          border: 2px solid #C6CFE0;
          &:after{
            opacity: 0;
          }
          @keyframes loop {
            0%{
              stroke-dashoffset: 157px;
            }
            100%{
              stroke-dashoffset: 18;
            }
          }
          svg{
            .path-loop{
              animation: loop 3.8s linear forwards;
            }
          }
        }
        &:after{
          content: '';
          width: 12/$f+vw;
          height: 12/$f+vw;
          border-radius: 50%;
          display: inline-block;
          background: #747477;
          transition: .6s ease;
        }
      }
    }

  }
}

.boxes{
  .box{
    display: none;
    .section2{
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 48/$f+vw 40/$f+vw;
      .item{
        height: 355/$f+vw;
        width: 100%;
        border-radius: 20/$f+vw;
        border: 1px solid #FFF;
        background: rgba(255, 255, 255, 0.30);
        box-shadow: -6px 5px 2px 0px rgba(255, 255, 255, 0.20) inset;
        backdrop-filter: blur(28px);
        display: block;
        padding: 30/$f+vw;
        &:hover{
          .img{
            img{
              transform: scale(1.05);
            }
          }
        }
        .img{
          width: 100%;
          height: 235/$f+vw;
          background: #D9D9D9;
          overflow: hidden;
          border-radius: 10/$f+vw;
          img{
            width: 100%;
            height: 100%;
            transition: .6s;
          }
        }
        .dis{
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin: 24/$f+vw 0 0 0;
          .p1{
            color: #000;
            font-style: normal;
            font-weight: 400;
          }
          .more{
            display: flex;
            align-items: center;
            gap: 0 9/$f+vw;
            p{
              color: #000;
              font-style: normal;
              font-weight: 300;
            }
            svg{
              width: 11/$f+vw;
              height: 10/$f+vw;
            }
          }
        }
      }
    }
    
    .pager{
      margin-top: 100/$f+vw;
      display: flex;
      justify-content: center;
      align-items: center;
      a{
        margin: 0 5/$f+vw;
        svg{
          width: 24/$f+vw;
          height: 24/$f+vw;
          display: block;
        }
      }
      .nums{
        a{
          color: #8B8B8B;
          padding: 0 10/$f+vw;
          position: relative;
          &.on{
            border-bottom: 2px solid #007AFF;
            color:#007AFF;
          }
        }
      }
    }

    &.on{
      display: block;
    }
  }
}



.types {
  margin: 154/$f+vw 0 100/$f+vw 0;
  display: flex;
  justify-content: center;

  a {
    width: 240/$f+vw;
    height: 78/$f+vw;
    border-radius: 40/$f+vw;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(28.67752456665039px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 30/$f+vw;
    transition: all 600ms;
    color: #5D5D5D;
    cursor: pointer;

    &.on {
      background: #358CFF;
      color: white;
    }
  }
}


@media screen and (max-width: 1024px) {
  .main{
    padding: 120px 5% 0 5%;
    .title{
      h1{
        margin-bottom: 12px;
      }
    }

  }
  .main2{
    padding: 0 5% 120px 5%;
  }
  .section1{
    margin: 50px 0 0 0;
    padding: 0 5%;
    flex-direction: column;
    .l{
      width: 100%;
      margin: 0;
      .p1{
        margin: 0 0 10px;
      }
      .p2{
        line-height: 30px;
        margin: 0 0 15px;
      }
      .cut{
        gap: 0 25px;
        .item{
          width: 25px;
          height: 25px;
          &:after{
            width: 8px;
            height: 8px;
          }
        }
      }
    }
    .r{
      width: 100%;
      margin: 25px 0 0;
      .rSwiper{
        width: 100%;
        .swiper-slide{
          .item{
            height: auto;
            padding: 40px 0 0 0;
            transform: scale(1) !important;
            .p1{
              line-height: 25px;
            }
            .btn{
              margin: 15px 0 25px 0;
              .submit{
                border-radius: 15px;
                padding: 5px 17px;
              }
            }
            .img{
              width: 73%;
            }
          }
        }
      }
    }
  }

  .main2{
    .section2{
      gap: 25px 0;
      grid-template-columns: repeat(1,1fr);
      .item{
        width: 100%;
        padding: 15px;
        height: auto;
        border-radius: 10px;
        .img{
          height: auto;
          border-radius: 10px;
        }
        .dis{
          margin: 15px 0 0 0;
          .more{
            gap: 0 7px ;
            svg{
              width: 11px;
              height: 10px;
            }
          }
        }
      }
    }
    .types{
      margin: 60px 0  30px 0;
      flex-wrap: wrap;
      a{
        width: 100%;
        height: 60px;
        margin: 0 0 20px 0;
        border-radius: 40px;
      }
    }
    .pager{
      margin-top: 50px;
      a{
        margin: 0 5px;
        svg{
          width: 16px;
          height: 16px;
        }
      }
      .nums{
        a{
          padding: 0 5px;
        }
      }
    }
  }
}